package lab.lab02;

// 测试类，测试Golem和Zelos对象及相关方法
public class Test {
    public static void main(String[] args) {
        Boss boss1 = new Golem("1", 5);
        Boss boss2 = new Zelos("2", 8);

        boss1.attack();
        boss1.move();
        boss1.heal();

        boss2.attack();
        boss2.move();
        boss2.heal();
    }
}
/*
    1 attacks! Health: 5
1 moves in a curved path.
1 heals 20 health points. Health: 25
2 attacks! Health: 8
2 flies.
2 heals 30 health points. Health: 38
 */